SimplePay\Core\RestApi\Internal\Payment\Utils\PaymentRequestUtils A

Total Complexity 71
Dependencies 5
Dependents 10
Total lines 715
Lines of code 370
Logical lines of code 190
Comment lines 237
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
get_payment_metadata()
B
32 18 116
get_payment_method_types()
A
39 14 67
get_amount()
A
49 8 32
get_payment_method_options()
S
44 5 49
is_recurring()
S
63 5 10
get_payment_intent_data()
S
60 3 13
get_return_url()
S
61 2 13
get_unit_amount()
S
66 2 8
get_form()
S
65 2 9
get_cancel_url()
S
67 2 8
is_covering_fees()
S
76 1 4
get_form_values()
S
76 1 4
is_optionally_recurring()
S
72 1 6
get_tax_calc_id()
S
76 1 4
get_coupon_code()
S
76 1 4
get_custom_unit_amount()
S
76 1 4
get_quantity()
S
76 1 4
get_currency()
S
79 1 3
get_payment_method_type()
S
76 1 4
get_price()
S
67 1 8